libxl: add function to remove usb controller xenstore entries
authorJuergen Gross <jgross@suse.com>
Tue, 20 Sep 2016 14:18:07 +0000 (16:18 +0200)
committerWei Liu <wei.liu2@citrix.com>
Tue, 20 Sep 2016 14:48:16 +0000 (15:48 +0100)
commit0503cafe62e505f53c7af149521a17cfe92f9bb7
tree8fa7445c5cc3c1ba698bf38387597726f40d0aa5
parentbbb17f6f1273857b27197b581b87c20264059a8f
libxl: add function to remove usb controller xenstore entries

In case of failure when trying to add a new USB controller to a domain
libxl might leak xenstore entries. Add a function to remove them and
call this function in case of failure.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_usb.c